package com.prs.crm.dao.oa;

import java.util.Collection;

import com.prs.crm.dao.BaseDao;
import com.prs.crm.domain.hr.Person;
import com.prs.crm.domain.oa.OaTask;
import com.prs.crm.domain.oa.OaTaskSubmit;

public interface OaTaskSubmitDao extends BaseDao<OaTaskSubmit>{
	int countTaskSubmits(OaTask task);
	Collection<OaTaskSubmit> getExecuteTask(Person person);
	Collection<OaTaskSubmit> getExecuteTaskByLevel(Person person,String level);
	Collection<OaTaskSubmit> getAuditTask(Person person);
	Collection<OaTaskSubmit> getAuditTaskByLevel(Person person,String level);
	Collection<OaTaskSubmit> getOaTaskSubmitByTask(OaTask oaTask);
	Collection<OaTaskSubmit> getOverdueOaTaskSubmit(Person person);
}
 